package com.nanhai.buddhist.college.module.collegebase.convert.accommodationbed;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.accommodationbed.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.accommodationbed.AccommodationBedDO;

/**
 * 床铺 Convert
 *
 * @author AKai
 */
@Mapper
public interface AccommodationBedConvert {

    AccommodationBedConvert INSTANCE = Mappers.getMapper(AccommodationBedConvert.class);

    AccommodationBedDO convert(AccommodationBedCreateReqVO bean);

    AccommodationBedDO convert(AccommodationBedUpdateReqVO bean);

    AccommodationBedRespVO convert(AccommodationBedDO bean);

    List<AccommodationBedRespVO> convertList(List<AccommodationBedDO> list);

    PageResult<AccommodationBedRespVO> convertPage(PageResult<AccommodationBedDO> page);

    List<AccommodationBedExcelVO> convertList02(List<AccommodationBedDO> list);

}
